package com.rentong.wx.sys.controller;

import com.rentong.common.R;
import com.rentong.wx.sys.domain.SysConfChongzhiBstEntity;
import com.rentong.wx.sys.service.SysConfChongzhiBstService;
import com.rentong.wx.utils.WxApiUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 *
 * @author zhangle
 * @email 459343178@qq.com
 * @date 2024-12-24 14:42:30
 */
@RestController
public class SysConfChongzhiBstController {

    @Autowired
    private SysConfChongzhiBstService sysConfChongzhiBstService;


    //226、查询帮上推的信息
    @RequestMapping("/sysConfChongzhiBst/getBstInfo")
    public R getBstInfo(SysConfChongzhiBstEntity sysConfChongzhiBstEntity, HttpServletRequest request) throws Exception {
        return R.success(sysConfChongzhiBstService.getBstInfo(sysConfChongzhiBstEntity, WxApiUtil.getCurrentCustId(request)));
    }




}
